﻿using Microsoft.EntityFrameworkCore;
using Abp.Zero.EntityFrameworkCore;
using study.Authorization.Roles;
using study.Authorization.Users;
using study.MultiTenancy;
using study.Departments;
using AbpDemo.Entity;

namespace study.EntityFrameworkCore
{
    public class studyDbContext : AbpZeroDbContext<Tenant, Role, User, studyDbContext>
    {
        /* Define a DbSet for each entity of the application */
        public DbSet<EmployeeTaskMapping> EmployeeTaskMappings { get; set; }
        public DbSet<Task> Tasks { get; set; }
        public DbSet<Employee> Employees { get; set; }
        public DbSet<Student> Students { get; set; }
        public DbSet<Course> Courses { get; set; }
        public DbSet<Score> Scores { get; set; }
        public DbSet<Department> Departments { get; set; }
        public studyDbContext(DbContextOptions<studyDbContext> options)
            : base(options)
        {
        }
    }
}
